import * as types from './actionType';

/**
 * 创建action用来动态改变值
 * action函数返回修改后的值
 */

/**
 * 需要传递的值
 * @param { any } actionData 
 * @returns 
 */
export const increaseAction = (actionData) => ({
  type: types.INCREASE,
  actionData
})

export const decreaseAction = (actionData) => ({
  type: types.DECREASE,
  actionData
})


